<?php
class HackerU_Debuger
{
	public static function dump($debug, $die = true)
	{
		?><pre><?php
		var_dump($debug);
		?></pre><hr /><?php
		if($die){
			die('end debug');
		}
	}
	
	public static function classInfo($obj)
	{
		?><h2>Class Name :<?php echo get_class($obj);?></h2><br /><?php
		?><h4>Class Properties :</h4><?php
		self::dump(get_class_vars(get_class($obj)), false);
		?><br /><h4>Class Methods :</h4><?php
		self::dump(get_class_methods($obj));
	}
}